<?php
namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromArray;
use Maatwebsite\Excel\Concerns\WithStrictNullComparison;

class ArrayExcelExport implements FromArray, WithStrictNullComparison
{
    protected $data;
    
    public function __construct(array $data) {
        $this->data = $data;
    }
    
    public function array(): array
    {
        return $this->data;
    }
}
